/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.myorg.applitest.loggin;

/**
 *
 * @author user
 */
public class PropsDbLogin {

    private PropsDbLogin(){


    }
    public static synchronized PropsDbLogin getSingletonObject() throws Exception {
        if (_singletonObject_ == null) {
                _singletonObject_ = new PropsDbLogin();
        }
        return _singletonObject_;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        throw new CloneNotSupportedException();
    }

    public String getCurrentUserLogin(){
        return this.strCurrentUserLogin;
    }

    public String getCurrentUserPassword(){
        return this.strCurrentUserPassword;
    }

    public void setCurrentUserLogin(String strLogin){
        this.strCurrentUserLogin = strLogin;
    }
    public void setCurrentUserPassword(String strPassword){
        this.strCurrentUserPassword = strPassword;
    }
    public void setCurrentuserLoginPassword(String strLogin, String strPassword){
        this.strCurrentUserLogin = strLogin;
        this.strCurrentUserPassword = strPassword;
    }

    private String strCurrentUserLogin;
    private String strCurrentUserPassword;
    private static PropsDbLogin _singletonObject_;
}
